import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import VueRouter from 'vue-router'
import router from './router'

import axios from 'axios'
import VueAxios from 'vue-axios'
// VueAxios 与 axios 的位置不能交换，否则出现 TypeError: Cannot read property 'protocol' of undefined


let app = createApp(App).use(router)
app.use( VueAxios , axios)
app.use(ElementPlus)
app.mount('#app')
app.use(VueRouter)
